package com.fish.service.finance;

import java.util.List;

import com.fish.common.constant.QueryPage;
import com.fish.finance.po.Settlement;

public interface SettlementService {
	/**
	 * 根据主键查询
	 * 
	 * @update zhangzhenhua 2010-9-20
	 */
	Settlement querySettlementByPrimaryKey(Settlement settlement);

	/**
	 * 添加
	 * 
	 * @update zhangzhenhua 2010-9-20
	 */
	void addSettlement(Settlement settlement);
	
	/**
	 * 修改
	 * 
	 * @update zhangzhenhua 2010-9-20
	 */
	void updateSettlement(Settlement settlement);

	/**
	 * 模糊查询
	 * 
	 * @update zhangzhenhua 2010-9-20
	 */
	List<Settlement> querySettlementByObject(Settlement settlement,QueryPage queryPage);
	
	/**
	 * 模糊查询
	 * 
	 * @update zhangzhenhua 2010-9-20
	 */
	long querySettlementCountByObject(Settlement settlement);
}
